<#import "/common/function.ftl" as fn>
<@fn.header _title="">
<script type="text/javascript" src="${base}/resources/script/jquery.pager.js"></script>
</@fn.header>

<body style="width:100%" class="list">
<form id="listForm" action="list" method="post">
	<h2><img src="${base}/resources/style/images/iconDivM.gif" width="16" height="16" />用户管理</h2>
	<div class="title marginTop15">
		<div class="title-middle">
			<div class="title-left"></div>
			<div class="title-caption">用户详情</div>
            <div class="title-right"></div>
		</div>
	</div>
	<table class="table3" id="userListTable">
		<tr><th>帐号</th><td>${(user.username)!}</td></tr>
		<tr><th>姓名</th><td>${(user.name)!}</td></tr>
		<tr><th>角色</th><td><#list user.roles as role>${(role.name)!}</#list></td></tr>
		<tr><th>机构</th><td><#if !user.region?has_content>未设置<#else>${user.region.name!}</#if></td></tr>
		<tr><th>添加时间</th><td>${(user.createDate)!}</td></tr>
		<tr><th>添加人</th><td>${(user.operator)!}</td></tr>
		<tr><th>是否可用</th><td><#if user.enabled>可用<#else>不可用</#if></td></tr>
		<tr><th>电话</th><td>${(user.tel)!}</td></tr>
		<tr><th>邮箱</th><td>${(user.email)!}</td></tr>
		<tr><th>住址</th><td>${(user.address)!}</td></tr>
		</tr>
	</table>
	<input type="button" id="searchButton" class="button" value="返 回" onclick="javascript:history.go(-1);" />
</form>
</body>
</html>
